<?php

/**
 * 上传类 For SAE
 *
 * @author     jonwang(jonwang@myqee.com)
 * @category   MyQEE
 * @package    System
 * @subpackage Core
 * @copyright  Copyright (c) 2008-2011 myqee.com
 * @license    http://www.myqee.com/license.html
 */
class Upload extends MyQEE_Upload
{

    protected $domain = 'default';

    public function __construct( $domain = 'default' )
    {
        $this->domain = $domain;
    }

    /**
     * 保存上传文件
     * 
     * @param array $file
     * @param string $filename
     * @param string $directory
     * @param int $chmod
     */
    public static function save( array $file, $filename = NULL, $directory = NULL, $chmod = 0644 )
    {
    
    }
}